<DllImport("kernel32.dll")> _
Shared Function GetPrivateProfileSectionNames( _
ByVal lpszReturnBuffer As System.Text.StringBuilder, ByVal nSize As System.Int32, ByVal lpFileName As String) As System.Int32
End Function
[DllImport("kernel32.dll")]
static extern uint GetPrivateProfileSectionNames(IntPtr lpszReturnBuffer,
uint nSize, string lpFileName);
None.
None.
Please add some!
Dim profiles As New StringBuilder(100)
Dim ret As Int32 = GetPrivateProfileSectionNames(profiles, profiles.Capacity, nsappsPath)
Debug.WriteLine(ret)
Debug.WriteLine(profiles.ToString)
Do you know one? Please contribute it!